<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all">
    <script th:src="@{/layui/layui.js}" charset="utf-8"></script>
    <link rel="stylesheet" th:href="@{/login/css/style.css}"/>
    <link rel="stylesheet" th:href="@{/login/css/iconfont.css}"/>
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <title>登录界面</title>
</head>
<body>
<div id="bigBox">
    <h1>LOGIN</h1>
    <form action="/tologin">
        <div class="inputBox">
            <div class="inputText">
                <span class="iconfont icon-nickname"></span>
                <input type="text" placeholder="学员/管理员" name="identy" value="学员"/>
            </div>
            <div class="inputText">
                <span class="iconfont icon-nickname"></span>
                <input type="text" name="name" placeholder="用户名" th:value="${msg}"/>
            </div>
            <div class="inputText">
                <span class="iconfont icon-visible"></span>
                <input type="password" name="password" placeholder="密码"/>
            </div>
        </div>
        <input class="loginButton" type="submit" value="登录"/>
        <a href="/register">
            <input class="registerButton" type="button" value="注册"/>
        </a>
    </form>
</div>

</body>
</html>
